package com.example.demo.mapper;

import com.example.demo.model.ArticleInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 郝文雪
 * @date 2022/7/17 17:52
 * @Description Test
 */
@Mapper
public interface ArticleMapper{
    //查询article单张表的信息
    List<ArticleInfo> getAll();

    //查询article和userinfo两张表的信息
    List<ArticleInfo> getAll2();

}
